 
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="prt.aspx.cs" Inherits="prt" EnableViewState="false" %>
  
<script type="text/javascript" src="js/qrcode.js"></script>
  <link href="cs/css.css"   type="text/css" />
<body>
    <form id="form1" runat="server">
                 
                     
     <table  border="0"  style="width:100%"; cellspacing="10" >
 
    <tr style="width:auto">
        <td style="width:50% "  align="right" rowspan="3"  >
            <div id="qrcode" ></div>
        </td>
        <td><%#move_stock_apply_no%></td>
       </tr> 
       <tr ><td><%#vehicle_no%></td></tr>
       <tr ><td><%#out_stock_date%></td></tr>

 

</table>  
              <%-- <asp:LinkButton ID="LinkButton1" runat="server" PostBackUrl="printer://com.hikvision.hikprinter?label=yes&path=/sdcard/print_test.pdf">LinkButton</asp:LinkButton>--%>

        <br />

  <asp:LinkButton ID="LinkButton2" runat="server" PostBackUrl="printer://com.hikvision.hikprinter?label=yes&path=http://dd.lttg.cn/DingApiShuhe/prt.aspx?move_stock_apply_no=abc
&vehicle_no=def&out_stock_date=xyze" Font-Size="XX-Large">print</asp:LinkButton>

 <a href="printer://com.hikvision.hikprinter?label=yes&path=http://dd.lttg.cn/DingApiShuhe/prt.aspx?move_stock_apply_no=abc"><h1>test2</h1></a>
    
          

<script type="text/javascript">
    var qrcode = new QRCode('qrcode', {
        text: '<%#qrcode%>',
        width: 80,
        height: 80,
        colorDark: '#000000',
        colorLight: '#ffffff',
        correctLevel: QRCode.CorrectLevel.H
    });

    makeCode();

</script>
          
   
    </form>
</body>
</html>

